<!-- INCLUDE overall_header.html -->

<style type="text/css">
h2 {
	margin-top:0;
}

fieldset dt{
	width: 35%;
}

fieldset dd {
	margin: 0 0 0 35%;
}

#colour_palette td {
	padding: 0;
}

textarea {
	width: 99%;
}

td a {
	font-size: 1.2em;
}

td input {
	float: right;
	text-align: right;
	font-size: 1em;
}
</style>

<!-- IF ERROR -->
<div class="errorbox">
	<h3>{L_INFORMATION}</h3>
	<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->

<a name="maincontent"></a>

<h1>{PB_TITLE}</h1>

<p>{PB_TITLE_EXPLAIN}</p>

<form id="postform" name="postform" method="post" action="{U_ACTION}">

<!-- IF S_PREVIEW -->
<table cellspacing="1">
	<thead>
		<tr><th colspan="2">{L_PREVIEW}</th></tr>
	</thead>
	<tbody>
		<!-- IF S_SUBJECT --><tr><td width="18%" class="col1"><strong>{L_SUBJECT} :</strong></td><td class="col2">{PREVIEW_SUBJ}</td></tr><!-- ENDIF -->
		<tr><td colspan="2" class="col2">{PREVIEW_MSG}</td></tr>
		</tbody>
	</table>
<br />
<!-- ENDIF -->

<fieldset>
	<legend>{L_MESSAGE}</legend>
<!-- IF not S_AUTO_REPLY -->
<dl>
	<dt><label for="username">{L_USERNAME}:</label></dt>
	<dd><input class="text medium" type="text" id="username" name="username" value="{USER}" /></dd>
	<dd>[ <a href="{U_FIND_USER}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
</dl>
<!-- ENDIF -->

<!-- IF S_NEED_SUBJECT -->
<dl>
	<dt><label for="subject">{L_SUBJECT}:</label></dt>
	<dd><input class="medium" type="text" id="subject" name="subject" value="{SUBJECT}"/></dd>
</dl>
<!-- ENDIF -->

<dl>
	<dt><label for="post_forum">{L_POST_FORUM}:</label></dt>
	<dd><select id="post_forum" name="post_forum">{FORUM_BOX}</select></dd>
</dl>

<!-- IF S_AUTO_REPLY -->
<dl>
	<dt><label for="time_delay">{L_TIME_DELAY}:</label></dt>
	<dd><input type="radio" class="radio" id="time_delay" name="time_delay"<!-- IF S_ENABLED --> checked="checked"<!-- ENDIF --> value="1"/>&nbsp;{L_YES}&nbsp;&nbsp;<input type="radio" class="radio" name="time_delay"<!-- IF not S_ENABLED --> checked="checked"<!-- ENDIF --> value="0"/>&nbsp;{L_NO}</dd>
</dl>
<!-- ENDIF -->

<!-- IF S_NEED_MSG -->
<dl><!-- INCLUDE ../../styles/prosilver/template/posting_buttons.html -->
	<textarea name="message" id="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea><br />
	<table style="border: 0;">
		<tbody>
			<tr>
				<td>
					<a href="{U_SMILIES}" target="_blank" onclick="window.open('{U_SMILIES}', '_phpbbsmilies', 'HEIGHT=350,resizable=yes,scrollbars=yes,WIDTH=300'); return false;">{L_SMILIES}!</a>
				</td>
				<td>
				</td>
			</tr>
		</tbody>
	</table>
</dl>
<!-- ENDIF -->
</fieldset>

<fieldset class="quick">
	<legend>Submit</legend>
	<!-- IF S_NEED_PRE --><input type="submit" name="preview" value="{L_PREVIEW}" class="button2" /><!-- ENDIF -->
	<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
	<input class="button2" type="reset" id="reset" name="reset" value="Reset" />
</fieldset>

<!-- IF S_NEED_VARS -->
<table cellspacing="1">
	<caption>{L_PB_VARS}</caption>
	<col class="col1" /><col class="col2" /><col class="col1" />

	<thead>
		<tr>
			<th>{L_PB_VAR_NAME}</th>
			<th>{L_PB_VAR_VAR}</th>
			<th>{L_PB_VAR_EXAMPLE}</th>
		</tr>
	</thead>

	<tbody>
	<!-- BEGIN vars -->
		<tr>
			<td>{vars.NAME}</td>
			<td><b>{vars.VARIABLE}</b></td>
			<td><b>{vars.EXAMPLE}</b></td>
		</tr>
	<!-- END vars -->
	</tbody>
</table>
<!-- ENDIF -->

{S_FORM_TOKEN}

</form>

<!-- INCLUDE overall_footer.html -->